// samsting : this file is auto create.

#include "Yundun/2015-04-16/DdosLogResponse.h"

namespace aliyun { namespace Yundun {

DdosLogResponse::DdosLogResponse() {
}

const string& DdosLogResponse::DdosLog::GetStartTime(void) const {
  return StartTime_;
}

const string& DdosLogResponse::DdosLog::GetEndTime(void) const {
  return EndTime_;
}

const string& DdosLogResponse::DdosLog::GetReason(void) const {
  return Reason_;
}

int DdosLogResponse::DdosLog::GetStatus(void) const {
  return Status_;
}

int64 DdosLogResponse::DdosLog::GetBps(void) const {
  return Bps_;
}

int64 DdosLogResponse::DdosLog::GetPps(void) const {
  return Pps_;
}

int64 DdosLogResponse::DdosLog::GetQps(void) const {
  return Qps_;
}

const string& DdosLogResponse::DdosLog::GetAttackType(void) const {
  return AttackType_;
}

const string& DdosLogResponse::DdosLog::GetAttackIpList(void) const {
  return AttackIpList_;
}

int DdosLogResponse::DdosLog::GetType(void) const {
  return Type_;
}

const std::vector<DdosLogResponse::DdosLog>& DdosLogResponse::GetLogList(void) const {
  return LogList_;
}

int DdosLogResponse::GetAttackStatus(void) const {
  return AttackStatus_;
}

const string& DdosLogResponse::GetStartTime(void) const {
  return StartTime_;
}

const string& DdosLogResponse::GetEndTime(void) const {
  return EndTime_;
}

int DdosLogResponse::GetPageNumber(void) const {
  return PageNumber_;
}

int DdosLogResponse::GetPageSize(void) const {
  return PageSize_;
}

int DdosLogResponse::GetTotalCount(void) const {
  return TotalCount_;
}

const char* DdosLogResponse::BaseKey(void) {
  return "DdosLogResponse";
}

void DdosLogResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int LogList__length = 0;
  UnmarshallerInt(LogList__length, response_map, "DdosLogResponse.LogList.Length");
  if(LogList__length >= 0) {
    LogList_.resize(LogList__length);
    for(int i1 = 0; i1 < LogList__length; i1++) {
      UnmarshallerString(LogList_[i1].StartTime_, response_map, "DdosLogResponse.LogList["+string_ValueOfInt(i1)+"].StartTime");
      UnmarshallerString(LogList_[i1].EndTime_, response_map, "DdosLogResponse.LogList["+string_ValueOfInt(i1)+"].EndTime");
      UnmarshallerString(LogList_[i1].Reason_, response_map, "DdosLogResponse.LogList["+string_ValueOfInt(i1)+"].Reason");
      UnmarshallerInt(LogList_[i1].Status_, response_map, "DdosLogResponse.LogList["+string_ValueOfInt(i1)+"].Status");
      UnmarshallerInt64(LogList_[i1].Bps_, response_map, "DdosLogResponse.LogList["+string_ValueOfInt(i1)+"].Bps");
      UnmarshallerInt64(LogList_[i1].Pps_, response_map, "DdosLogResponse.LogList["+string_ValueOfInt(i1)+"].Pps");
      UnmarshallerInt64(LogList_[i1].Qps_, response_map, "DdosLogResponse.LogList["+string_ValueOfInt(i1)+"].Qps");
      UnmarshallerString(LogList_[i1].AttackType_, response_map, "DdosLogResponse.LogList["+string_ValueOfInt(i1)+"].AttackType");
      UnmarshallerString(LogList_[i1].AttackIpList_, response_map, "DdosLogResponse.LogList["+string_ValueOfInt(i1)+"].AttackIpList");
      UnmarshallerInt(LogList_[i1].Type_, response_map, "DdosLogResponse.LogList["+string_ValueOfInt(i1)+"].Type");
    } // for(int i1 = 0; i1 < LogList__length; i1++) {
  } // if(LogList__length >= 0) {

  UnmarshallerInt(AttackStatus_, response_map, "DdosLogResponse.AttackStatus");
  UnmarshallerString(StartTime_, response_map, "DdosLogResponse.StartTime");
  UnmarshallerString(EndTime_, response_map, "DdosLogResponse.EndTime");
  UnmarshallerInt(PageNumber_, response_map, "DdosLogResponse.PageNumber");
  UnmarshallerInt(PageSize_, response_map, "DdosLogResponse.PageSize");
  UnmarshallerInt(TotalCount_, response_map, "DdosLogResponse.TotalCount");
}


} } // namespace aliyun { namespace Yundun {

// end of file 
